package com.fzzz.kotlindemo

/**
 * Created by Shen Chao
 * Created by 2018-12-26
 */
object Util {
    fun format(str: String): String? {
        //kotlin 中的三元运算
        return if (str.isEmpty()) null else str
    }
}
